'use strict';
(function (angular) {
    var locales = {};
    angular.module("app").value('$locale', locales);
    locales.id = "zh_CN";
    // data-time formats
    locales.DATETIME_FORMATS = {
        "TITLE": ["年", "月", "日"],
        "MONTH": ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月",
            "10月", "11月", "12月"],
        "SHORTMONTH": ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月",
            "10月", "11月", "12月"],
        "DAY": ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
        "SHORTDAY": ["周日", "周一", "周二", "周三", "周四", "周五", "周六"],
        "AMPMS": ["上午", "下午"],
        "medium": "yyyy-M-d ah:mm:ss",
        "short": "yy-M-d ah:mm",
        "fullDate": "y年M月d日EEEE",
        "longDate": "y年M月d日",
        "mediumDate": "yyyy-M-d",
        "shortDate": "yy-M-d",
        "mediumTime": "ah:mm:ss",
        "shortTime": "ah:mm"
    };
    // number formats
    locales.NUMBER_FORMATS = {
        "DECIMAL_SEP": ".",
        "GROUP_SEP": ",",
        "PATTERNS": [{
            "minInt": 1,
            "minFrac": 0,
            "maxFrac": 3,
            "posPre": "",
            "posSuf": "",
            "negPre": "-",
            "negSuf": "",
            "gSize": 3,
            "lgSize": 3
        }, {
            "minInt": 1,
            "minFrac": 2,
            "maxFrac": 2,
            "posPre": "\u00A4",
            "posSuf": "",
            "negPre": "\u00A4-",
            "negSuf": "",
            "gSize": 3,
            "lgSize": 3
        }],
        "CURRENCY_SYM": "¥"
    };

    /**
     * fields/messages for example $field("xxxx")/$msg("xxxx") or
     * $locale.FIELDS.xxxx/$locale.MESSAGES.xxxx
     */
    var fields = {}, messages = {};
    locales.FIELDS = fields;
    locales.MESSAGES = messages;

    messages["menu.sys"] = '生成流程';
    messages["menu.fileInfo"] = '号码处理';
    messages["menu.userList"] = '用户管理';

    messages["menu.dbprofile"] = '数据库配置';
    messages["menu.dbprofile.list"] = '配置详情';
    messages["menu.template"] = '模板配置';
    messages["menu.template.list"] = '配置详情';
    messages.icon = {};
    messages.icon["menu.sys"] = 'icon-screen-desktop icon text-success';
    messages.icon["menu.fileInfo"] = 'icon-docs text-success';
    messages.icon["menu.dbprofile"] = 'icon-equalizer icon text-info-lter';
    messages.icon["menu.template"] = 'icon-notebook  icon text-info-dker';
    messages.icon["menu.userList"] = 'icon-user icon text-success-lter';


    messages["locale_code"] = {
        "zh_CN": "中文",
        "en_US": "英文"
    };
    messages["dbTypes"] = [
        "ORACLE", "MYSQL"
    ];
    messages["RPODUCT_UNIT"] = [
        "片"
    ];

    messages["PRODUCT_SIZE"] = ["600*600", "600*800", "800*800"];


})(window.angular);
